package com.bruce.pattern.structural.decorator.v1;

/**
 * Created by bruce on 2018/11/3 22:49
 */
//加鸡蛋的煎饼
public class BattercakeWithEgg extends Battercake {

    @Override
    public String getDesc() {
        return super.getDesc() + " 加鸡蛋";
    }

    @Override
    public int cost() {
        return super.cost() + 1;
    }
}
